package com.itheima.service;

import com.itheima.domain.dto.StudentDto;
import com.itheima.domain.pojo.Student;
import com.itheima.domain.vo.PageResult;
import com.itheima.domain.vo.StudentVo;
import org.springframework.stereotype.Service;

/** Student-学员业务
 * @author 上官徵羽
 * @version 1.0
 * @since 2025-08-21 10:40
 */
@Service
public interface StudentService {
    /** 查询全部学员列表 */
    PageResult<StudentVo> getStudentPage(StudentDto studentDto);
    /** 批量删除员工 */
    void deleteStudent(Integer[] ids);
    /** 添加员工 */
    void addStudent(Student student);
    /** 根据id查询员工 */
    Student getStudentId(Integer id);
    /** 修改学员信息 */
    void updateStudent(Student student);
    /** 违纪扣分 */
    void pointsWillBeDeductedForDisciplinaryViolations(Integer score, Integer id);
}
